package cn.com.cifi.mars.constant;
/**
 * 房间面积状态
 * @author 60157
 *
 */
public enum SupplyConfirmStatusEnum {

	UNCONFIRMED(0,"未确认"),
	CONFIRMED(1,"已确认"),
	OVERDUE_UNCONFIRMED(2,"逾期未确认"),
	NONEED_CONFIRM(3,"无需确认");
	
	
	private Integer key;
	private String value;
	
	SupplyConfirmStatusEnum(Integer key,String value) {
		this.key = key;
		this.value = value;
	}

	 public static String getValueByKey(int key){
	        for(SupplyConfirmStatusEnum eunm:SupplyConfirmStatusEnum.values()){
	            if(key == eunm.getKey()){
	                return eunm.getValue();
	            }
	        }
	        return  null;
	    }
	
	
	/**
	 * @return the key
	 */
	public Integer getKey() {
		return key;
	}

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}
}
